package vmcs.simulationsystem;

import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import vmcs.controller.MaintenanceController;

/**
 * Title:        VMCS
 * Description:
 * Copyright:    Copyright (c) 2001
 * Company:      ISS
 * @author Pang Pingli
 * @version 1.0
 */

public class TransferCashButtonListener implements ActionListener {
  private MaintenanceController mctrl;
  public TransferCashButtonListener(MaintenanceController mc) {
    mctrl = mc;
  }
  public void actionPerformed(ActionEvent e) {
    /**@todo: Implement this java.awt.event.ActionListener method*/
    mctrl.transferAll();
  }
}